package com.wfuhui.modules.oms.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

/**
 * 商品
 */
@ExcelTarget("goods")
public class GoodsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//
	private Integer goodsId;
	// 物品名称
	@Excel(name = "菜品名称", width = 30, isImportField = "goods_name")
	private String goodsName;
	// 分类ID
	private Integer categoryId;
	
	/**
	 * 分类
	 */
	private CategoryEntity category;
	// 价格
	@Excel(name = "价格", width = 30, isImportField = "price")
	private BigDecimal price;

	private String picUrl;
	// 描述
	private String describe;
	// 创建时间
	@Excel(name = "创建时间", width = 30, isImportField = "create_time", exportFormat = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	private String[] picUrls;

	/**
	 * 设置：
	 */
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	/**
	 * 获取：
	 */
	public Integer getGoodsId() {
		return goodsId;
	}

	/**
	 * 设置：物品名称
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	/**
	 * 获取：物品名称
	 */
	public String getGoodsName() {
		return goodsName;
	}

	/**
	 * 设置：分类ID
	 */
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	/**
	 * 获取：分类ID
	 */
	public Integer getCategoryId() {
		return categoryId;
	}

	/**
	 * 设置：价格
	 */
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	/**
	 * 获取：价格
	 */
	public BigDecimal getPrice() {
		return price;
	}

	/**
	 * 设置：描述
	 */
	public void setDescribe(String describe) {
		this.describe = describe;
	}

	/**
	 * 获取：描述
	 */
	public String getDescribe() {
		return describe;
	}

	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	public CategoryEntity getCategory() {
		return category;
	}

	public void setCategory(CategoryEntity category) {
		this.category = category;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String[] getPicUrls() {
		return picUrls;
	}

	public void setPicUrls(String[] picUrls) {
		this.picUrls = picUrls;
	}
	
}
